
	<div class="entry">
		<div class="latest">
		<!-- 文章标题   -->
		<h2 id="post-8">
		<% if @show_natures.value == "1"%>
		<% if common_entry.istop.to_i == 1 %>
		<font color="#FF0000">置顶</font>
		<% end %>
		[<%=link_to h(common_entry.nature.title),{:controller=>"nature",:action=>"index",:id=>common_entry.nature_id},{:title=>common_entry.nature.description}%>]
		<% else %>
		<% end %>
		<%=link_to h(common_entry.title),{:controller=>"topic",:action=>"index",:id=>common_entry.id},{:title=>common_entry.title}%>
		</h2>	
		<!-- 作者等信息   -->
		<div class="meta">
			Posted on  <%=common_entry.created_at.to_s(:short)%>
			in 
			<%=link_to h(common_entry.category.title),{:controller=>"category",:action=>"index",:id=>common_entry.category_id},{:title=>common_entry.category.description}%> 
			by <%=common_entry.user.display_name%>
		</div>
		<!-- 文章主题内容   -->
		<div class="main">
    		<p>
    		<%=simple_format  sanitize(truncate(strip_tags(common_entry.body), common_entry.snippetcounts*2))%>
    		</p>				
            <ul class="readmore">
            	<%=link_to "Continue reading...",{:controller=>"topic",:action=>"index",:id=>common_entry.id},{:title=>"Continue reading..."}%>(<%=common_entry.views_count%>)
            	<%=link_to "Leave a comment...",{:controller=>"topic",:action=>"index",:id=>common_entry.id},{:title=>"Comment on An image in a post"}%>(<%=common_entry.comments_count%>)</li>
            </ul>
        </div>
        
		</div>
	</div>